package com.ztmg.water.mapper.base;

import com.ztmg.water.model.base.DepositRecord;
import com.ztmg.water.model.base.DepositRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DepositRecordMapper {
    long countByExample(DepositRecordExample example);

    int deleteByExample(DepositRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepositRecord record);

    int insertSelective(DepositRecord record);

    List<DepositRecord> selectByExample(DepositRecordExample example);

    DepositRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DepositRecord record, @Param("example") DepositRecordExample example);

    int updateByExample(@Param("record") DepositRecord record, @Param("example") DepositRecordExample example);

    int updateByPrimaryKeySelective(DepositRecord record);

    int updateByPrimaryKey(DepositRecord record);

    int updateRecordByStudentIdAndWaterId(DepositRecord record);
}